import java.util.Arrays;
import java.util.Scanner;

//平面上一个点
class Point{

}

class PointFactory{
    public static Point creatPointByxy(double x,double y){
        Point p = new Point();
        //通过 xy 对p进行属性设置
        return p;
    }

    public static Point creatPointByra(double r,double a){
        Point p = new Point();
        //通过 ra 对p进行属性设置
        return p;
    }
}

public class Demo5 {

    public static void main(String[] args) {
        Point p = PointFactory.creatPointByxy(10,20);
        Point p1 = PointFactory.creatPointByra(20,0.1);
    }

}


